package cn.lg.soar.boot.fc.entity.vo;

import cn.lg.soar.core.annotations.constraints.group.Create;
import cn.lg.soar.core.annotations.constraints.group.Update;
import cn.lg.soar.database.base.entity.BaseEntity;
import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 房间变更详情
 * @author ZhuanZ（无密码）
 * @since 2025-02-06
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Data
@ApiModel(value = "ChangeMessage", description = "房间变更详情")
public class ChangeMessageVo extends BaseEntity {

    /** id */
    @ApiModelProperty(value = "主键")
    private Long id;

    /** 变更信息id */
    @ApiModelProperty(value = "变更信息id")
    private Long changeId;

    /** 变更项目 */
    @ApiModelProperty(value = "变更项目")
    private String changeName;

    /** 变更前 */
    @ApiModelProperty(value = "变更前")
    private String changeOld;

    /** 变更后 */
    @ApiModelProperty(value = "变更后")
    private String changeNew;

    /** 版本 */
    @ApiModelProperty(value = "版本")
    private Integer version;

    /** 扩展字段1 */
    @ApiModelProperty(value = "扩展字段1")
    private String extend1;

    /** 扩展字段2 */
    @ApiModelProperty(value = "扩展字段2")
    private String extend2;

    /** 扩展字段3 */
    @ApiModelProperty(value = "扩展字段3")
    private String extend3;

    @ApiModelProperty(value = "创建人id")
    private Long createBy;

    @JsonIgnore
    @Override
    public Long primaryKey() {
        return this.id;
    }

}
